package com.silverbox.waimai.entity;

import java.util.Date;

/**
box_order_pay_detail
 */
public class OrderPayDetail {
    /**
     * 系统编号
     */
    private Integer id;

    /**
     * 商家id
     */
    private Integer shopId;

    /**
     * 店铺id
     */
    private Integer storeId;

    /**
     * 服务商ID
     */
    private Integer serviceId;

    /**
     * 机器ID
     */
    private Long machineId;

    /**
     * 银盒子订单编号
     */
    private String orderNum;

    /**
     * 记录支付订单号（即提交到支付系统银盒子交易流水号，全局唯一，生成方式以订单编号生成方式类似）
     */
    private String payOrderNum;

    /**
     * 记录支付系统支付成功返回的交易流水号
     */
    private String tradeNo;

    /**
     * 记录支付方式（对应系统及支付方式prop_value字段）
     */
    private Integer payModel;

    /**
     * 支付类型编码（对应系统级支付方式及商家子订单支付方式pay_code字段）
     */
    private String payCode;

    /**
     * 记录支付用户ID（如支付宝支付保存支付宝PID，会员卡支付保存会员UID）
     */
    private String customId;

    /**
     * 记录支付用户昵称（如支付宝支付保存支付宝昵称，会员卡支付保存会员昵称）
     */
    private String customName;

    /**
     * 记录收银员工号
     */
    private String jobNum;

    /**
     * 记录导购员工号
     */
    private String guidJobNum;

    /**
     * 记录收款账户ID（如支付宝支付记录支付宝收款账户PID）
     */
    private String sellerId;

    /**
     * 记录订单支付标题
     */
    private String subject;

    /**
     * 支付金额
     */
    private Double totalFee;

    /**
     * 用户实付金额
     */
    private Double totalPay;

    /**
     * 商家实收金额
     */
    private Double totalPrices;

    /**
     * 支付平台优惠金额
     */
    private Double payplatformPromotionFee;

    /**
     * 商家优惠金额
     */
    private Double thirdPromotionFee;

    /**
     * 记录支付状态（0：未支付，1：已支付，-1已退款，-2现金支出）
     */
    private Integer payStatus;

    /**
     * 记录支付方式类型（0：系统级支付方式，1：商家自定义支付方式）
     */
    private Integer isSystemPay;

    /**
     * 记录支付类型（0：线上支付 1：线下支付）
     */
    private Integer payType;

    /**
     * 下单时间
     */
    private Date orderDate;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 记录退款支付订单号
     */
    private String refundPayOrderNum;

    /**
     * 字符串扩展字段1
     */
    private String extendCol1;

    /**
     * 字符串扩展字段2
     */
    private String extendCol2;

    /**
     * 扩展字段3
     */
    private Integer extendCol3;

    /**
     * 扩展字段4
     */
    private Integer extendCol4;

    /**
     * 扩展字段5
     */
    private Double extendCol5;

    /**
     * 扩展字段6
     */
    private Double extendCol6;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 代金券使用数量
     */
    private Integer quantity;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public String getPayOrderNum() {
        return payOrderNum;
    }

    public void setPayOrderNum(String payOrderNum) {
        this.payOrderNum = payOrderNum == null ? null : payOrderNum.trim();
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public Integer getPayModel() {
        return payModel;
    }

    public void setPayModel(Integer payModel) {
        this.payModel = payModel;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode == null ? null : payCode.trim();
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId == null ? null : customId.trim();
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName == null ? null : customName.trim();
    }

    public String getJobNum() {
        return jobNum;
    }

    public void setJobNum(String jobNum) {
        this.jobNum = jobNum == null ? null : jobNum.trim();
    }

    public String getGuidJobNum() {
        return guidJobNum;
    }

    public void setGuidJobNum(String guidJobNum) {
        this.guidJobNum = guidJobNum == null ? null : guidJobNum.trim();
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId == null ? null : sellerId.trim();
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject == null ? null : subject.trim();
    }

    public Double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public Double getTotalPrices() {
        return totalPrices;
    }

    public void setTotalPrices(Double totalPrices) {
        this.totalPrices = totalPrices;
    }

    public Double getPayplatformPromotionFee() {
        return payplatformPromotionFee;
    }

    public void setPayplatformPromotionFee(Double payplatformPromotionFee) {
        this.payplatformPromotionFee = payplatformPromotionFee;
    }

    public Double getThirdPromotionFee() {
        return thirdPromotionFee;
    }

    public void setThirdPromotionFee(Double thirdPromotionFee) {
        this.thirdPromotionFee = thirdPromotionFee;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getIsSystemPay() {
        return isSystemPay;
    }

    public void setIsSystemPay(Integer isSystemPay) {
        this.isSystemPay = isSystemPay;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getRefundPayOrderNum() {
        return refundPayOrderNum;
    }

    public void setRefundPayOrderNum(String refundPayOrderNum) {
        this.refundPayOrderNum = refundPayOrderNum == null ? null : refundPayOrderNum.trim();
    }

    public String getExtendCol1() {
        return extendCol1;
    }

    public void setExtendCol1(String extendCol1) {
        this.extendCol1 = extendCol1 == null ? null : extendCol1.trim();
    }

    public String getExtendCol2() {
        return extendCol2;
    }

    public void setExtendCol2(String extendCol2) {
        this.extendCol2 = extendCol2 == null ? null : extendCol2.trim();
    }

    public Integer getExtendCol3() {
        return extendCol3;
    }

    public void setExtendCol3(Integer extendCol3) {
        this.extendCol3 = extendCol3;
    }

    public Integer getExtendCol4() {
        return extendCol4;
    }

    public void setExtendCol4(Integer extendCol4) {
        this.extendCol4 = extendCol4;
    }

    public Double getExtendCol5() {
        return extendCol5;
    }

    public void setExtendCol5(Double extendCol5) {
        this.extendCol5 = extendCol5;
    }

    public Double getExtendCol6() {
        return extendCol6;
    }

    public void setExtendCol6(Double extendCol6) {
        this.extendCol6 = extendCol6;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "OrderPayDetail{" +
                "id=" + id +
                ", shopId=" + shopId +
                ", storeId=" + storeId +
                ", serviceId=" + serviceId +
                ", machineId=" + machineId +
                ", orderNum='" + orderNum + '\'' +
                ", payOrderNum='" + payOrderNum + '\'' +
                ", tradeNo='" + tradeNo + '\'' +
                ", payModel=" + payModel +
                ", payCode='" + payCode + '\'' +
                ", customId='" + customId + '\'' +
                ", customName='" + customName + '\'' +
                ", jobNum='" + jobNum + '\'' +
                ", guidJobNum='" + guidJobNum + '\'' +
                ", sellerId='" + sellerId + '\'' +
                ", subject='" + subject + '\'' +
                ", totalFee=" + totalFee +
                ", totalPay=" + totalPay +
                ", totalPrices=" + totalPrices +
                ", payplatformPromotionFee=" + payplatformPromotionFee +
                ", thirdPromotionFee=" + thirdPromotionFee +
                ", payStatus=" + payStatus +
                ", isSystemPay=" + isSystemPay +
                ", payType=" + payType +
                ", orderDate=" + orderDate +
                ", payTime=" + payTime +
                ", refundPayOrderNum='" + refundPayOrderNum + '\'' +
                ", extendCol1='" + extendCol1 + '\'' +
                ", extendCol2='" + extendCol2 + '\'' +
                ", extendCol3=" + extendCol3 +
                ", extendCol4=" + extendCol4 +
                ", extendCol5=" + extendCol5 +
                ", extendCol6=" + extendCol6 +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", quantity=" + quantity +
                '}';
    }
}